package com.sl.au.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * 售后服务单(返厂维修处理意见和三包办理明细tab页)：
 * 
 */
@Entity
@Table(name = "sl_crm_afterSaleTicketAdvice")
public class AfterSaleTicketAdvice extends AuditRoot {

	/**
	 * 三包编号
	 */
	@Column(name = "sRegulationCode")
	private String regulationCode;
	/**
	 * 维修编号 
	 */
	@Column(name = "sRepairCode")
	private String repairCode;
	/**
	 * 安装日期
	 */
	@Column(name = "dSetDate")
	@Temporal(TemporalType.TIMESTAMP)
	private Date setDate;
	/**
	 * 交货日期  
	 */
	@Column(name = "dDeliveryDate")
	@Temporal(TemporalType.TIMESTAMP)
	private Date deliveryDate;
	/**
	 * 出厂编号   
	 */
	@Column(name = "sOutCode")
	private String outCode;
	/**
	 * 发货时间   
	 */
	@Column(name = "dSendDate")
	@Temporal(TemporalType.TIMESTAMP)
	private Date sendDate ;
	/**
	 * 台位号  
	 */
	@Column(name = "sSeatCode")
	private String seatCode;
	/**
	 * 责任归属  
	 */
	@Column(name = "sDutyBlong")
	private String dutyBlong;
	/**
	 * 外购 
	 */
	@Column(name = "sOutsourcing")
	private String outsourcing;
	/**
	 * 自制 
	 */
	@Column(name = "sSelfMake")
	private String selfMake;
	/**
	 * 赔偿原因   
	 */
	@Column(name = "sPayReason")
	private String payReason;
	/**
	 * 输入阀   
	 */
	@Column(name = "sOutputTap")
	private String outputTap;
	/**
	 * 最小流量阀   
	 */
	@Column(name = "sMinTap")
	private String minTap;
	/**
	 * 进水阀  
	 */
	@Column(name = "sInputTap")
	private String inputTap;
	/**
	 * 止回阀 
	 */
	@Column(name = "sStopTap")
	private String stopTap;
	/**
	 * 最低液面阀  
	 */
	@Column(name = "sMinLevelTap")
	private String minLevelTap;
	/**
	 * 轴瓦磨损情况  
	 */
	@Column(name = "sAbraseState")
	private String abraseState;
	/**
	 * 服务人员现场问题说明及处理建议 
	 */
	@Column(name = "sQuestionDealSuggest")
	private String questionDealSuggest;
	/**
	 * 服务人员 
	 */
	@Column(name = "sServicePerson")
	private String servicePerson;
	/**
	 * 时间 
	 */
	@Column(name = "dServiceDate")
	@Temporal(TemporalType.TIMESTAMP)
	private Date serviceDate;
	/**
	 * 用户处理意见 
	 */
	@Column(name = "sUserAdvise")
	private String userAdvise;
	/**
	 * 备注   
	 */
	@Column(name = "sMemo")
	private String memo;
	/**
	 * 合计   
	 */
	@Column(name = "sSummation")
	private String summation;
	/**
	 * 财务报价人   
	 */
	@Column(name = "sFinancePerson")
	private String financePerson;
	/**
	 * 赔偿发运方式 
	 */
	@Column(name = "sSendWay")
	private String sendWay;
	/**
	 * 发往地点 
	 */
	@Column(name = "sSendPlace")
	private String sendPlace;
	/**
	 * 收货单位名称   
	 */
	@Column(name = "sReceiveUnit")
	private String receiveUnit;
	/**
	 * 联系人   
	 */
	@Column(name = "sContactPerson")
	private String contactPerson;
	/**
	 * 电话 
	 */
	@Column(name = "sContactPhone")
	private String contactPhone;
	/**
	 * 邮编  
	 */
	@Column(name = "sPostNumber")
	private String postNumber;
	/**
	 * 办理部门   
	 */
	@Column(name = "sDealSuperior")
	private String dealSuperior;
	/**
	 * 办理日期 
	 */
	@Column(name = "dDealDate")
	@Temporal(TemporalType.TIMESTAMP)
	private Date dealDate;
//历史数据
	/**
	 * 进口压力
	 */
	@Column(name = "sInPressure")
	private String inPressure;
	/**
	 * 出口压力
	 */
	@Column(name = "sOutPressure")
	private String outPressure;
	/**
	 * 润滑油  
	 */
	@Column(name = "sLube")
	private String lube;
	/**
	 * 壳体温度  
	 */
	@Column(name = "sCaseTemp")
	private String caseTemp;
	/**
	 * 轴承温度  
	 */
	@Column(name = "sBearingTemp")
	private String bearingTemp;
	/**
	 * 泵振动值 
	 */
	@Column(name = "sPumpValue")
	private String pumpValue;
	/**
	 * 平衡管振动值 
	 */
	@Column(name = "sBalanceValue")
	private String balanceValue;
	/**
	 * 电机电流 
	 */
	@Column(name = "sMotorCurrent")
	private String motorCurrent;

	/**
	 * 联轴器水平中心 
	 */
	@Column(name = "sHorizontalCenter")
	private String horizontalCenter;

	/**
	 * 联轴器垂直中心 
	 */
	@Column(name = "sVerticalCenter")
	private String verticalCenter;

	/**
	 * 联轴器张口   
	 */
	@Column(name = "sOpening")
	private String opening;
	/**
	 * 轴向尺寸  
	 */
	@Column(name = "sAxialSize")
	private String axialSize;
	//再次运转数据
		/**
		 * 进口压力
		 */
		@Column(name = "sInPressure1")
		private String inPressure1;
		/**
		 * 出口压力
		 */
		@Column(name = "sOutPressure1")
		private String outPressure1;
		/**
		 * 润滑油  
		 */
		@Column(name = "sLube1")
		private String lube1;
		/**
		 * 壳体温度  
		 */
		@Column(name = "sCaseTemp1")
		private String caseTemp1;
		/**
		 * 轴承温度  
		 */
		@Column(name = "sBearingTemp1")
		private String bearingTemp1;
		/**
		 * 泵振动值 
		 */
		@Column(name = "sPumpValue1")
		private String pumpValue1;
		/**
		 * 平衡管振动值 
		 */
		@Column(name = "sBalanceValue1")
		private String balanceValue1;
		/**
		 * 电机电流 
		 */
		@Column(name = "sMotorCurrent1")
		private String motorCurrent1;

		/**
		 * 联轴器水平中心 
		 */
		@Column(name = "sHorizontalCenter1")
		private String horizontalCenter1;

		/**
		 * 联轴器垂直中心 
		 */
		@Column(name = "sVerticalCenter1")
		private String verticalCenter1;

		/**
		 * 联轴器张口   
		 */
		@Column(name = "sOpening1")
		private String opening1;
		/**
		 * 轴向尺寸  
		 */
		@Column(name = "sAxialSize1")
		private String axialSize1;
		/**
		 * AfterSaleTicket_id 
		 */
		@OneToOne
		@JoinColumn(unique = false)
		private AfterSaleTicket afterSaleTicket;
		
		public String getRegulationCode() {
			return regulationCode;
		}
		public void setRegulationCode(String regulationCode) {
			this.regulationCode = regulationCode;
		}
		public String getRepairCode() {
			return repairCode;
		}
		public void setRepairCode(String repairCode) {
			this.repairCode = repairCode;
		}
		public Date getSetDate() {
			return setDate;
		}
		public void setSetDate(Date setDate) {
			this.setDate = setDate;
		}
		public Date getDeliveryDate() {
			return deliveryDate;
		}
		public void setDeliveryDate(Date deliveryDate) {
			this.deliveryDate = deliveryDate;
		}
		public String getOutCode() {
			return outCode;
		}
		public void setOutCode(String outCode) {
			this.outCode = outCode;
		}
		public Date getSendDate() {
			return sendDate;
		}
		public void setSendDate(Date sendDate) {
			this.sendDate = sendDate;
		}
		public String getSeatCode() {
			return seatCode;
		}
		public void setSeatCode(String seatCode) {
			this.seatCode = seatCode;
		}
		public String getDutyBlong() {
			return dutyBlong;
		}
		public void setDutyBlong(String dutyBlong) {
			this.dutyBlong = dutyBlong;
		}
		public String getSelfMake() {
			return selfMake;
		}
		public void setSelfMake(String selfMake) {
			this.selfMake = selfMake;
		}
		public String getPayReason() {
			return payReason;
		}
		public void setPayReason(String payReason) {
			this.payReason = payReason;
		}
		public String getOutputTap() {
			return outputTap;
		}
		public void setOutputTap(String outputTap) {
			this.outputTap = outputTap;
		}
		public String getMinTap() {
			return minTap;
		}
		public void setMinTap(String minTap) {
			this.minTap = minTap;
		}
		public String getInputTap() {
			return inputTap;
		}
		public void setInputTap(String inputTap) {
			this.inputTap = inputTap;
		}
		public String getStopTap() {
			return stopTap;
		}
		public void setStopTap(String stopTap) {
			this.stopTap = stopTap;
		}
		public String getMinLevelTap() {
			return minLevelTap;
		}
		public void setMinLevelTap(String minLevelTap) {
			this.minLevelTap = minLevelTap;
		}
		public String getAbraseState() {
			return abraseState;
		}
		public void setAbraseState(String abraseState) {
			this.abraseState = abraseState;
		}
		public String getQuestionDealSuggest() {
			return questionDealSuggest;
		}
		public void setQuestionDealSuggest(String questionDealSuggest) {
			this.questionDealSuggest = questionDealSuggest;
		}
		public String getServicePerson() {
			return servicePerson;
		}
		public void setServicePerson(String servicePerson) {
			this.servicePerson = servicePerson;
		}
		public Date getServiceDate() {
			return serviceDate;
		}
		public void setServiceDate(Date serviceDate) {
			this.serviceDate = serviceDate;
		}
		public String getUserAdvise() {
			return userAdvise;
		}
		public void setUserAdvise(String userAdvise) {
			this.userAdvise = userAdvise;
		}
		public String getMemo() {
			return memo;
		}
		public void setMemo(String memo) {
			this.memo = memo;
		}
		public String getFinancePerson() {
			return financePerson;
		}
		public void setFinancePerson(String financePerson) {
			this.financePerson = financePerson;
		}
		public String getSendWay() {
			return sendWay;
		}
		public void setSendWay(String sendWay) {
			this.sendWay = sendWay;
		}
		public String getSendPlace() {
			return sendPlace;
		}
		public void setSendPlace(String sendPlace) {
			this.sendPlace = sendPlace;
		}
		public String getReceiveUnit() {
			return receiveUnit;
		}
		public void setReceiveUnit(String receiveUnit) {
			this.receiveUnit = receiveUnit;
		}
		public String getContactPerson() {
			return contactPerson;
		}
		public void setContactPerson(String contactPerson) {
			this.contactPerson = contactPerson;
		}
		public String getContactPhone() {
			return contactPhone;
		}
		public void setContactPhone(String contactPhone) {
			this.contactPhone = contactPhone;
		}
		public String getPostNumber() {
			return postNumber;
		}
		public void setPostNumber(String postNumber) {
			this.postNumber = postNumber;
		}
		public String getDealSuperior() {
			return dealSuperior;
		}
		public void setDealSuperior(String dealSuperior) {
			this.dealSuperior = dealSuperior;
		}
		public Date getDealDate() {
			return dealDate;
		}
		public void setDealDate(Date dealDate) {
			this.dealDate = dealDate;
		}
		public String getInPressure() {
			return inPressure;
		}
		public void setInPressure(String inPressure) {
			this.inPressure = inPressure;
		}
		public String getOutPressure() {
			return outPressure;
		}
		public void setOutPressure(String outPressure) {
			this.outPressure = outPressure;
		}
		public String getLube() {
			return lube;
		}
		public void setLube(String lube) {
			this.lube = lube;
		}
		public String getCaseTemp() {
			return caseTemp;
		}
		public void setCaseTemp(String caseTemp) {
			this.caseTemp = caseTemp;
		}
		public String getBearingTemp() {
			return bearingTemp;
		}
		public void setBearingTemp(String bearingTemp) {
			this.bearingTemp = bearingTemp;
		}
		public String getPumpValue() {
			return pumpValue;
		}
		public void setPumpValue(String pumpValue) {
			this.pumpValue = pumpValue;
		}
		public String getBalanceValue() {
			return balanceValue;
		}
		public void setBalanceValue(String balanceValue) {
			this.balanceValue = balanceValue;
		}
		public String getMotorCurrent() {
			return motorCurrent;
		}
		public void setMotorCurrent(String motorCurrent) {
			this.motorCurrent = motorCurrent;
		}
		public String getHorizontalCenter() {
			return horizontalCenter;
		}
		public void setHorizontalCenter(String horizontalCenter) {
			this.horizontalCenter = horizontalCenter;
		}
		public String getVerticalCenter() {
			return verticalCenter;
		}
		public void setVerticalCenter(String verticalCenter) {
			this.verticalCenter = verticalCenter;
		}
		public String getOpening() {
			return opening;
		}
		public void setOpening(String opening) {
			this.opening = opening;
		}
		public String getAxialSize() {
			return axialSize;
		}
		public void setAxialSize(String axialSize) {
			this.axialSize = axialSize;
		}
		public String getInPressure1() {
			return inPressure1;
		}
		public void setInPressure1(String inPressure1) {
			this.inPressure1 = inPressure1;
		}
		public String getOutPressure1() {
			return outPressure1;
		}
		public void setOutPressure1(String outPressure1) {
			this.outPressure1 = outPressure1;
		}
		public String getLube1() {
			return lube1;
		}
		public void setLube1(String lube1) {
			this.lube1 = lube1;
		}
		public String getCaseTemp1() {
			return caseTemp1;
		}
		public void setCaseTemp1(String caseTemp1) {
			this.caseTemp1 = caseTemp1;
		}
		public String getBearingTemp1() {
			return bearingTemp1;
		}
		public void setBearingTemp1(String bearingTemp1) {
			this.bearingTemp1 = bearingTemp1;
		}
		public String getPumpValue1() {
			return pumpValue1;
		}
		public void setPumpValue1(String pumpValue1) {
			this.pumpValue1 = pumpValue1;
		}
		public String getBalanceValue1() {
			return balanceValue1;
		}
		public void setBalanceValue1(String balanceValue1) {
			this.balanceValue1 = balanceValue1;
		}
		public String getMotorCurrent1() {
			return motorCurrent1;
		}
		public void setMotorCurrent1(String motorCurrent1) {
			this.motorCurrent1 = motorCurrent1;
		}
		public String getHorizontalCenter1() {
			return horizontalCenter1;
		}
		public void setHorizontalCenter1(String horizontalCenter1) {
			this.horizontalCenter1 = horizontalCenter1;
		}
		public String getVerticalCenter1() {
			return verticalCenter1;
		}
		public void setVerticalCenter1(String verticalCenter1) {
			this.verticalCenter1 = verticalCenter1;
		}
		public String getOpening1() {
			return opening1;
		}
		public void setOpening1(String opening1) {
			this.opening1 = opening1;
		}
		public String getAxialSize1() {
			return axialSize1;
		}
		public void setAxialSize1(String axialSize1) {
			this.axialSize1 = axialSize1;
		}
		public AfterSaleTicket getAfterSaleTicket() {
			return afterSaleTicket;
		}
		public void setAfterSaleTicket(AfterSaleTicket afterSaleTicket) {
			this.afterSaleTicket = afterSaleTicket;
		}
		public String getOutsourcing() {
			return outsourcing;
		}
		public void setOutsourcing(String outsourcing) {
			this.outsourcing = outsourcing;
		}
		public String getSummation() {
			return summation;
		}
		public void setSummation(String summation) {
			this.summation = summation;
		}
		
}
